package com.xinnet.mms.entity;

import java.io.Serializable;
import java.util.List;


/**
 * 
 * 
 *
 * @author 王湛智[wangzhanzhi@xinnet.com]
 *
 * @version 
 *
 * @since 2014年1月13日
 */
public class Dept implements Serializable{

	private static final long serialVersionUID = -4827702790111911045L;
	private String id;//组织结构标识
	private String dname;//组织结构名称
	private String parentId;//上级组织名称
	private String parentName;//上级组织名称
	private String companyIdStr;//所属分公司
	
	private List<Area> unUsedAreaList;
	private List<Product> unUsedProductList;
	private List<Area> usedAreaList;
	private List<Product> usedProductList;
	private List<String> productIdList;
	
	private List<Company> unUsedCompanyList;
	private List<Company> usedCompanyList;;

	private List<Area> parentAreaList;
	private String areaParentId;
	
	private String relationId;//部门关系表ID
	private String childId;//子节点ID
	
	public Dept() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Dept(String id, String dname, String parentId) {
		super();
		this.dname = dname;
		this.parentId = parentId;
	}
	
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getDname() {
		return dname;
	}
	public void setDname(String dname) {
		this.dname = dname;
	}
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public List<Area> getUnUsedAreaList() {
		return unUsedAreaList;
	}
	public void setUnUsedAreaList(List<Area> unUsedAreaList) {
		this.unUsedAreaList = unUsedAreaList;
	}
	public List<Product> getUnUsedProductList() {
		return unUsedProductList;
	}
	public void setUnUsedProductList(List<Product> unUsedProductList) {
		this.unUsedProductList = unUsedProductList;
	}
	public List<Area> getUsedAreaList() {
		return usedAreaList;
	}
	public void setUsedAreaList(List<Area> usedAreaList) {
		this.usedAreaList = usedAreaList;
	}
	public List<Product> getUsedProductList() {
		return usedProductList;
	}
	public void setUsedProductList(List<Product> usedProductList) {
		this.usedProductList = usedProductList;
	}
	public List<String> getProductIdList() {
		return productIdList;
	}
	public void setProductIdList(List<String> productIdList) {
		this.productIdList = productIdList;
	}
	public List<Area> getParentAreaList() {
		return parentAreaList;
	}
	public void setParentAreaList(List<Area> parentAreaList) {
		this.parentAreaList = parentAreaList;
	}
	public String getAreaParentId() {
		return areaParentId;
	}
	public void setAreaParentId(String areaParentId) {
		this.areaParentId = areaParentId;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public String getCompanyIdStr() {
		return companyIdStr;
	}
	public void setCompanyIdStr(String companyIdStr) {
		this.companyIdStr = companyIdStr;
	}
	public List<Company> getUnUsedCompanyList() {
		return unUsedCompanyList;
	}
	public void setUnUsedCompanyList(List<Company> unUsedCompanyList) {
		this.unUsedCompanyList = unUsedCompanyList;
	}
	public List<Company> getUsedCompanyList() {
		return usedCompanyList;
	}
	public void setUsedCompanyList(List<Company> usedCompanyList) {
		this.usedCompanyList = usedCompanyList;
	}
	public String getChildId() {
		return childId;
	}
	public void setChildId(String childId) {
		this.childId = childId;
	}
	public String getRelationId() {
		return relationId;
	}
	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}
	
}
